package cn.news.service;

import cn.news.pojo.Detail;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DetailService {
        List getNews(@Param("id") Integer categoryId, @Param("title") String title);
        Detail getById(Integer id);
        int update(Detail detail);
}
